LiveEventListener

interface LiveEventListener

A class that provides event listener methods that are invoked when actions are taken in a live event.

Since

1.0.0

Functions

Link copied to clipboard
abstract fun onCustomItemsDelete(liveEvent: LiveEvent, customItems: Map<String, String>, deletedKeys: List<String>)

Invoked when the custom items in a live event have been deleted.

Link copied to clipboard
abstract fun onCustomItemsUpdate(liveEvent: LiveEvent, customItems: Map<String, String>, updatedKeys: List<String>)

Invoked when the custom items in a live event have been updated.

Link copied to clipboard
abstract fun onDisconnected(liveEvent: LiveEvent, e: SendbirdException)

Invoked when the connection to the server has been temporarily disconnected.

Link copied to clipboard
abstract fun onExited(liveEvent: LiveEvent, e: SendbirdException)

Invoked when a user has been forced out from the live event due to the given error.

Link copied to clipboard
abstract fun onHostConnected(liveEvent: LiveEvent, host: Host)

Invoked when the host has been connected to the live event.

Link copied to clipboard
abstract fun onHostDisconnected(liveEvent: LiveEvent, host: Host)

Invoked when the host has been disconnected from the live event.

Link copied to clipboard
abstract fun onHostEntered(liveEvent: LiveEvent, host: Host)

Invoked when the host has entered the live event.

Link copied to clipboard
abstract fun onHostExited(liveEvent: LiveEvent, host: Host)

Invoked when the host has exited the live event.

Link copied to clipboard
abstract fun onHostMuteAudio(liveEvent: LiveEvent, host: Host)

Invoked when a host has muted the audio.

Link copied to clipboard
abstract fun onHostStartVideo(liveEvent: LiveEvent, host: Host)

Invoked when a host has turned on the video.

Link copied to clipboard
abstract fun onHostStopVideo(liveEvent: LiveEvent, host: Host)

Invoked when a host has turned off the video.

Link copied to clipboard
abstract fun onHostUnmuteAudio(liveEvent: LiveEvent, host: Host)

Invoked when a host has ummuted the audio.

Link copied to clipboard
open fun onHostVideoResolutionChanged(liveEvent: LiveEvent, host: Host, resolution: Resolution)

Invoked when the video resolution of a host has changed.

Link copied to clipboard
abstract fun onLiveEventEnded(liveEvent: LiveEvent)

Invoked when a live event has ended.

Link copied to clipboard
abstract fun onLiveEventInfoUpdated(liveEvent: LiveEvent)

Invoked when the live event information has been updated.

Link copied to clipboard
abstract fun onLiveEventReady(liveEvent: LiveEvent)

Invoked when the live event is ready.

Link copied to clipboard
abstract fun onLiveEventStarted(liveEvent: LiveEvent)

Invoked when a live event has started.

Link copied to clipboard
abstract fun onParticipantCountChanged(liveEvent: LiveEvent, participantCountInfo: ParticipantCountInfo)

Invoked when the participant count of the live event has changed.

Link copied to clipboard
abstract fun onReactionCountUpdated(liveEvent: LiveEvent, key: String, count: Int)
Link copied to clipboard
abstract fun onReconnected(liveEvent: LiveEvent)

Invoked when the connection to the server has been restored.